package com.i.picservice.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.i.piccommon.domain.Category;
import com.i.piccommon.domain.PhotoGraph;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author lewis
 * @type interface
 * @description
 * @since 2024/10/25
 */
public interface IPhotoGraphService extends IService<PhotoGraph> {
    Boolean uploadImage(PhotoGraph photoGraph);

    PhotoGraph selectOneByPhoto(Integer pid);

    void insertByPhotoCS(List<Map<String, Integer>> list);

    Integer selectIdByUrl(String url);

    IPage<PhotoGraph> getPage(Category vo);
}
